package com.lvy.hczn.front.business.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvy.hczn.front.system.domain.business.WarehouseBoxEntry;
import org.springframework.stereotype.Repository;

/**
 * 货箱入库单Mapper接口
 *
 * @author ruoyi
 * @date 2023-05-23
 */
@Repository
public interface WarehouseBoxEntryMapper extends BaseMapper<WarehouseBoxEntry> {

    /**
     * 查询货箱入库单
     *
     * @param id 货箱入库单主键
     * @return 货箱入库单
     */
    public WarehouseBoxEntry selectWarehouseBoxEntryById(String id);

    /**
     * 查询货箱入库单列表
     *
     * @param warehouseBoxEntry 货箱入库单
     * @return 货箱入库单集合
     */
    public List<WarehouseBoxEntry> selectWarehouseBoxEntryList(WarehouseBoxEntry warehouseBoxEntry);

    /**
     * 新增货箱入库单
     *
     * @param warehouseBoxEntry 货箱入库单
     * @return 结果
     */
    public int insertWarehouseBoxEntry(WarehouseBoxEntry warehouseBoxEntry);

    /**
     * 修改货箱入库单
     *
     * @param warehouseBoxEntry 货箱入库单
     * @return 结果
     */
    public int updateWarehouseBoxEntry(WarehouseBoxEntry warehouseBoxEntry);

    /**
     * 删除货箱入库单
     *
     * @param id 货箱入库单主键
     * @return 结果
     */
    public int deleteWarehouseBoxEntryById(String id);

    /**
     * 批量删除货箱入库单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseBoxEntryByIds(String[] ids);
}
